#include <my_header.h>
#include <shadow.h>
int main(int argc,char *argv[])
{
    ARGS_CHECK(argc,2);
    struct spwd * userInfo = getspnam(argv[1]);
    ERROR_CHECK(userInfo,NULL,"getspnam");
    printf("encrypted password = %s\n",userInfo->sp_pwdp);
    return 0;
}

